<#
	.SYNOPSIS
	SharePoint solution installer script
	
	.DESCRIPTION
	Will install all the WSPs and features needed to get the site up and running
	
	.PARAMETER configFile
	Configuration file
	
#>

param (      
	[Parameter(Mandatory=$true)][string]$configFile = $(throw "-configFile is required")
)

$module = Get-Module Installer
if ($module -ne $null)
{
	Remove-Module Installer	
}
Import-Module .\Installer.psm1

#MAIN METHOD
Install-Project  $configFile 
